package com.teach;

import java.io.File;

public class FileTask01 {
	private static final String FileUtil = null;

	public static void main(String[] args) {
		File root = new File("E:\\PR");
		System.out.println(root);
		for(File f:root.listFiles((f)->f.isFile())) {
			System.out.println("|__"+f.getName());
		}

			for(File f1:root.listFiles((f1)->f1.isDirectory())) {
				System.out.println("|_____└"+f1.getName());

				for(File f2:root.listFiles((f2)->f2.isFile())) {
					System.out.println("|______└"+f2.getName());
				}
			}
			}
		}
		
	

